Script: global virexHasRun,techtoolHasRun,rc,r,dayIs,dayNum,hj,vLocn,tToolLocn,defLocn,float¬if there is a window "Splash" then¬ wsSend "Splash","0","Close"¬end if¬if objValue="Open" then¬ if the optionkey is down then¬ wsSet wdID,"5","Visible", "TRUE"¬ wsSet wdID,"4","Text", "Maintenance Mode. Click the 'Admin' button to make changes..."¬ else¬ if rc ≥ dayNum and rc ≤ hj and virexHasRun = "0" then¬ beep¬ wsSet wdID,"3","Disabled", "FALSE"¬ wsSet wdID,"3","DefaultItem", "TRUE"¬ wsSet wdID,"2","DefaultItem", "FALSE"¬ wsSet wdID,"4","Text", "It's time to update the virus definitions file on your Mac. Click the 'Update Virus Def's' button to proceed..."¬ else¬ if dayIs = r and techtoolHasRun = "0" then¬ beep¬ wsSet wdID,"2","Disabled", "FALSE"¬ wsSet wdID,"3","DefaultItem", "FALSE"¬ wsSet wdID,"2","DefaultItem", "TRUE"¬ wsSet wdID,"4","Text", "It's time to rebuild the desktop file on your Mac. Click the 'Rebuild Desktop' button to proceed..."¬ end if ¬ end if¬ end if¬end if¬
ItemType: PICT
Rect: 20,13,52,45
AutoSize: FALSE
ID: 1033
Logic: Push
Script: global float¬wsSet wdID,"1","ID", "1034"¬wsSend "Maintenance Required","1","DoUpdate"¬put 1 into float¬get windowscript("about")¬
ItemType: PUSH
Rect: 307,76,434,96
AutoSize: FALSE
Disabled: TRUE
Name: Rebuild Desktop
DefaultItem: TRUE
Script: global virexHasRun,techtoolHasRun,rc,r,dayIs,dayNum,hj,vLocn,tToolLocn,defLocn¬put 1 into techtoolHasRun¬put xLat(Res,techtoolHasRun) into z¬nCod "prof",701,"techtool",z¬put GetBootVol() into xa¬if last char of xa = ":" then¬ delete last char of xa¬end if¬put xa & ":Desktop DB" into rm¬put xa & ":Desktop DF" into rg¬put SetVisible(rm, "true") into cv¬put SetVisible(rg, "true") into cx¬put MoveToTrash(rm) into cv¬put MoveToTrash(rg) into cx¬wsSend "Splash","0","Close"¬wait 60 ticks¬RestartMac¬quit
ItemType: PUSH
Rect: 171,76,298,96
AutoSize: FALSE
Disabled: TRUE
Name: Update Virus Def's
Script: global virexHasRun,techtoolHasRun,rc,r,dayIs,dayNum,hj,vLocn,tToolLocn,defLocn¬put 1 into virexHasRun¬put xLat(Res,virexHasRun) into z¬nCod "prof",700,"virex",z¬LaunchDoc defLocn¬quit
ItemType: TEXT
Rect: 68,13,439,60
AutoSize: FALSE
WhiteColor: -4370,-4370,-4370
ItemType: PUSH
Rect: 20,76,100,96
AutoSize: FALSE
Visible: FALSE
Name: Admin
Script: get windowscript("Administration")¬wsSend "Maintenance Required","Maintenance Required","Close"¬